golang.org/x/net/http2.serverConn.countError (method)

32 uses

	golang.org/x/net/http2 (current package)
		server.go#L1593: 			return sc.countError("first_settings", ConnectionError(ErrCodeProtocol))
		server.go#L1606: 				return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
		server.go#L1633: 		return sc.countError("push_promise", ConnectionError(ErrCodeProtocol))
		server.go#L1658: 		return sc.countError("ping_on_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1674: 			return sc.countError("stream_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1685: 			return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
		server.go#L1706: 		return sc.countError("reset_idle_stream", ConnectionError(ErrCodeProtocol))
		server.go#L1770: 			return sc.countError("ack_mystery", ConnectionError(ErrCodeProtocol))
		server.go#L1778: 		return sc.countError("settings_big_or_dups", ConnectionError(ErrCodeProtocol))
		server.go#L1847: 			return sc.countError("setting_win_size", ConnectionError(ErrCodeFlowControl))
		server.go#L1870: 		return sc.countError("data_on_idle", ConnectionError(ErrCodeProtocol))
		server.go#L1887: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1895: 		return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
		server.go#L1904: 			return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
		server.go#L1912: 		return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
		server.go#L1917: 			return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
		server.go#L2025: 		return sc.countError("headers_even", ConnectionError(ErrCodeProtocol))
		server.go#L2042: 			return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
		server.go#L2053: 		return sc.countError("stream_went_down", ConnectionError(ErrCodeProtocol))
		server.go#L2070: 			return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
		server.go#L2077: 		return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
		server.go#L2155: 		return sc.countError("dup_trailers", ConnectionError(ErrCodeProtocol))
		server.go#L2159: 		return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
		server.go#L2163: 		return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
		server.go#L2172: 				return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
		server.go#L2187: 		return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
		server.go#L2249: 		return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2255: 			return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2268: 		return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
		server.go#L2315: 		return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
		server.go#L2371: 		return sc.countError("too_many_early_resets", ConnectionError(ErrCodeEnhanceYourCalm))
		server.go#L3324: func (sc *serverConn) countError(name string, err error) error {